package com.happy.second.Mapper.QlpMapper;

import com.happy.second.Entity.qlpEntity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author itoutsource.cz10
 */
@Repository
@Mapper
public interface UserMapper {

    /**
     * @return
     */
    User selectByUserId(@Param("id") Integer id);

    /**
     * 批量插入数据
     **/
    int insertIntoUser(List<User> users);

    /**
     * 批量插入数据
     **/
    int insertUser(User users);
}
